<%@ page import="ar.com.mindset.geometrics_wi.GeometricsBuilder" %>
<%@ page import="ar.com.mindset.geometrics_wi.colorScheme.ContinuousColorScheme" %>
<%@ page import="ar.com.mindset.geometrics_wi.colorScheme.divisionStrategy.LinealDivision" %>
<html>
<head>
    <%
        GeometricsBuilder geometricsBuilder = new GeometricsBuilder();
    %>
    <%= geometricsBuilder.getHeaderCode() %>
</head>

<body>
<%
    geometricsBuilder.setHeight(600);
    geometricsBuilder.setWidth(800);
    geometricsBuilder.setScale(0.30f);
    geometricsBuilder.setXmlDrawDataURL("Argentina.xml");

    geometricsBuilder.addValue("JUJUY", "65");
    geometricsBuilder.addValue("SALTA", "94");
    geometricsBuilder.addValue("FORMOSA", "43");
    geometricsBuilder.addValue("CHACO", "43");
    geometricsBuilder.addValue("CATAMARCA", "60");
    geometricsBuilder.addValue("STGOESTERO", "43");
    geometricsBuilder.addValue("MISIONES", "100");
    geometricsBuilder.addValue("TUCUMAN", "46");
    geometricsBuilder.addValue("CORRIENTES", "93");
    geometricsBuilder.addValue("LARIOJA", "51");
    geometricsBuilder.addValue("STAFE", "67");
    geometricsBuilder.addValue("SANJUAN", "90");
    geometricsBuilder.addValue("CORDOBA", "33");
    geometricsBuilder.addValue("ENTRERIOS", "85");
    geometricsBuilder.addValue("SANLUIS", "64");
    geometricsBuilder.addValue("MENDOZA", "92");
    geometricsBuilder.addValue("BSAS", "10");
    geometricsBuilder.addValue("LAPAMPA", "74");
    geometricsBuilder.addValue("NEUQUEN", "90");
    geometricsBuilder.addValue("RIONEGRO", "55");
    geometricsBuilder.addValue("CHUBUT", "10");
    geometricsBuilder.addValue("STACRUZ", "2");
    geometricsBuilder.addValue("ISLASMALV", "53");
    geometricsBuilder.addValue("TFUEGO", "70");

    geometricsBuilder.setRegionClickEffect(GeometricsBuilder.RegionClickEffect.BLUR);
    geometricsBuilder.setRegionHideEffect(GeometricsBuilder.RegionHideEffect.EXPLODE);
    geometricsBuilder.setRegionShowEffect(GeometricsBuilder.RegionShowEffect.FADEIN);

    ContinuousColorScheme continuous = geometricsBuilder.useContinuousColorScheme();
    continuous.useContinuousListLegend(20);

    LinealDivision lineal = continuous.useLinealDivisionStrategy();
    lineal.setDivisionCount(8);
    lineal.setMaxColor("#FFFFFF");
    lineal.setMinColor("#0000FF");

%>

<%= geometricsBuilder.getReportCode() %>

</body>
</html>
